from machine import SoftI2C, Pin
from esp32_i2c_1602lcd import I2cLcd


DEFAULT_I2C_ADDR = 0x27 # 默认地址，= i2c.scan() 转十六进制
i2c = SoftI2C(sda=Pin(23),scl=Pin(22),freq=100000)
lcd = I2cLcd(i2c, DEFAULT_I2C_ADDR, 2, 16)

lcd.putstr("wangmingdong")